﻿using AutoMapper;
using CommonType;
using S_Gridding.Api.Application.Commands.AssemType;
using S_Gridding.Api.Application.Commands.MeshType;
using S_Gridding.Domains.BasicData;

namespace S_Gridding.Api.Extensions
{
    public class AssemTypeProfile: Profile
    {
        public AssemTypeProfile()
        {
            CreateMap<AssemTypeCreateCommand, AssemTypeInfo> ().ReverseMap();   //添加部件类型信息
            CreateMap<AssemTypeUpdateCommand, AssemTypeInfo>().ReverseMap();   //修改部件类型信息
        }
    }
}
